package isp.apps.example.shoppingcart.persistence.factory;

import isp.apps.example.shoppingcart.persistence.CompletedOrderDirectory;
import isp.apps.example.shoppingcart.persistence.CompletedOrderRepository;
import isp.apps.example.shoppingcart.persistence.hibernate.HibernateCompletedOrderDirectory;
import isp.apps.example.shoppingcart.persistence.hibernate.HibernateCompletedOrderRepository;

public class CompletedOrderPersistenceFactory
{
  public CompletedOrderPersistenceFactory()
  {
  }
  public static CompletedOrderRepository getCompletedOrderRepository()
  {
    return new HibernateCompletedOrderRepository();
  }

  public static CompletedOrderDirectory getCompletedOrderDirectory()
  {
    return new HibernateCompletedOrderDirectory();
  }
}
